package com.ipan.weixin.msg.qrcode;

import com.ipan.weixin.msg.AbstractJsonMsg;

/**
 * 接收新创建的二维码信息
 * 
 * @author iPan
 * @version 2013-12-26
 */
public class ReceiveTwoDimenCodeMsg extends AbstractJsonMsg {

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 5857836399713472239L;

	/** 获取的二维码ticket，凭借此ticket可以在有效时间内换取二维码。*/
	private String ticket;
	
	/** 二维码的有效时间，以秒为单位。最大不超过1800。 */
	private Long expire_seconds;
	
	public ReceiveTwoDimenCodeMsg() {}

	public ReceiveTwoDimenCodeMsg(String ticket, Long expire_seconds) {
		this.ticket = ticket;
		this.expire_seconds = expire_seconds;
	}

	public String getTicket() {
		return ticket;
	}

	public void setTicket(String ticket) {
		this.ticket = ticket;
	}

	public Long getExpire_seconds() {
		return expire_seconds;
	}

	public void setExpire_seconds(Long expire_seconds) {
		this.expire_seconds = expire_seconds;
	}
	
	
}
